package com.combetter.changxing.db.entity;

import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;
import android.databinding.BaseObservable;

/**
 * Created by 深圳唐龙飞讯科技有限公司 on 2018/7/19.
 */
@Entity(tableName = "facility_table")//已匹配设备
public class Facility extends BaseObservable {


    @PrimaryKey(autoGenerate = true)
    private int id;
    @ColumnInfo(name = "_facilityName") // 名称
    private String facilityName;    //名称

    @ColumnInfo(name = "_facilityAddress") // 设备连接地址
    private String facilityAddress;   //设备连接地址

    @ColumnInfo(name = "_mid") //
    private int mid;

    @ColumnInfo(name = "_uid") //
    private String uid;


//    private String model;
//    private String brand;
//    private String uid;
//    private long create_time;
//    private String identifier_id;
//    private String name;
//    private String type;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getFacilityName() {
        return facilityName;
    }

    public void setFacilityName(String facilityName) {
        this.facilityName = facilityName;
    }

    public String getFacilityAddress() {
        return facilityAddress;
    }

    public void setFacilityAddress(String facilityAddress) {
        this.facilityAddress = facilityAddress;
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }
}
